package teleradiologia.service;

import java.util.List;

import teleradiologia.domain.Ordertype;
import teleradiologia.repository.OrdertypeDao;

public interface OrdertypeManipulator {
	List<Ordertype> getAll();
	
	// simple CRUD operations
	void create(Ordertype ordertype);	 // create
	Ordertype getById(long id);	 // read
	void update(Ordertype ordertype);	 // update
	void delete(Ordertype ordertype);	 // delete
	
	// IoC - setter
	public void setOrdertypeDao(OrdertypeDao ordertypeDao);
}
